﻿using System;
using SpeadFrm.ORM;

namespace JStore.Core.Entities
{
    /// <summary>
    ///
    /// </summary>
    [TableName("News"), PrimaryKey("Id")]
    public class News
    {

        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string NewsContent { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int CreateUserId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate { get; set; }

    }
}

